import React from 'react';
import styles from './index.less';

const Tips = ({ title, content, ...rest }) => (
    <div className={styles.resultWrap} {...rest}>
        {title && <div className={styles.resultTitle}>{title}</div>}
        {content && <div className={styles.resultContent}>{content}</div>}
    </div>
);

export default Tips;
